/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package ZooManagement;

/**
 * Item Class - Represents objects used in logistics operations
 * @author ashongtical
 */
public class Item {
    public String name;
    public double price;
    public String code;
    public Item(String name, double price, String code) {
        this.name = name;
        this.price = price;
        this.code = code;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }
    public double getPrice() {
        return price;
    }
    public String getCode() {
        return code;
    }
    public void display() {
        System.out.println("Name: " + name);
        System.out.println("Price: " + price);
        System.out.println("Code: " + code);
    }

}
